Method and system for testing chips

ABSTRACT

Method and related system for testing a chip with high speed I/O functions are provided. The testing method of a chip includes the steps of: receiving a testing signal from a low speed bus; then transmitting the testing signal according to a transmission control signal; then receiving the testing signal according to a receiving control signal; and comparing the transmitted testing signal and the received testing signal to identify the I/O functions of the chip.

FIELD OF THE INVENTION

The disclosure relates to a system and related method for testing chips, and, more particularly, is related to a system for testing high speed chip and a method thereof.

BACKGROUND OF THE INVENTION

In computer system, data is transacted between devices via the buses. For instance, in a computer system, a central processing unit (CPU) bridges a number of peripherals, such as hard disk drivers, compact disc (CD) drivers, display cards and etc, through a chipset, and the connections between the CPU, the chipset, and the peripherals are via the buses for transferring data. Regarding to the requirements of efficiency and utility rate, the computer system with high performance is designed. Therefore, the bus speed is raised to meet the requirements of transacting data quickly. As a result, in modern computer system, a high speed bus, for example the Front Side Bus (FSB), is used between CPU and the chipset. According to the FSB bus specification, the data is transmitted at the high speed of GHz level, such as 1066 GHz to 1333 MHz.

In order to ensure the correct operations of the electronic devices, the input/output functions are tested when manufacturing the electronic device. When testing the electronic device, an external testing device is introduced in one end of the electronic device; therefore a testing data is transmitted from the testing device to the electronic device and then the testing data is received in another end of the electronic device. Finally, the transmitted testing data and the received testing data is compared to determined whether the electronic device is correctly operated. Since the high speed bus is required in the modern electronic devices, the high speed testing device for testing high speed input/out functions is required. However, the high speed testing device is pretty expansively, the cost of the electronic device is increased.

Therefore, it has become an important issue to provide a system and related method for testing an electronic device with a high-speed bus interface.

SUMMARY OF THE INVENTION

A testing method of a chip is provide which includes: receiving a testing signal from a low speed bus; then transmitting the testing signal according to a transmission control signal; then receiving the testing signal according to a receiving control signal; and comparing the transmitted testing signal and the received testing signal to identify the I/O functions of the chip.

A chip operating method is also provided which includes: enabling a transmission mechanism or a receiving mechanism of the chip while normal operating the chip; and enabling both of the transmission mechanism and the receiving mechanism of the chip while testing the chip.

A testing system of a chip is also provided which includes: a high speed bus interface circuit connected to a high-speed bus having a transmission circuit for transmitting data according to a transmission control signal and a receiving circuit for receiving data and a strobe signal according to a receiving control signal; and a testing control circuit connected to the high speed bus interface circuit, the testing control circuit enables both of the transmission control signal and the receiving control signal while testing the chip.

The various objects and advantages of the present invention will be more readily understood from the following detailed description when read in conjunction with the appended drawing, in which:

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram of a chip;

FIG. 2 is a schematic diagram of the testing system according to the embodiment of the present invention;

FIG. 3 is a detail schematic diagram of the testing system according to the embodiment of the present invention;

FIG. 4 is a schematic diagram of the testing system according to the embodiment of the present invention;

DETAILED DESCRIPTION

The present invention provides a method and related system for testing a chip with a high speed I/O functions under a low-cost and low-speed testing environment.

The method and related apparatus for chip test according to the embodiments of the invention will be apparent from the following detailed description, which proceeds with reference to the accompanying drawings, wherein the same references relate to the same elements.

FIG. 1 shows a schematic diagram of a chip 10 according to the invention. Assume that the chip 10 is a chipset connected between a host bus 28 (ex. Front Side bus) and a low speed bus 26 (ex. memory bus or PCI bus). The host 28 has a high speed bus 281 for delivering data and strobe signals in high speed and an assistant bus 282 for delivering information such as command and address in low speed.

As shown in FIG. 1, the chip 10 includes a high-speed bus interface circuit 12 connected to the host bus 28 for implement input and output functions of the chip 10. The high-speed bus interface circuit 12 includes: a transmission circuit 16 controlled by a transmission control signal HDOEN for performing a transmission mechanism of the chip 10 and a receiving circuit 18 controlled by a transmission control signal HDIE for performing a receiving mechanism of the chip 10. Otherwise, the high-speed bus interface circuit 12 further includes an adjusting circuit 20, a data connecting circuit 22 and a strobe signal connecting circuit 24.

In the present invention, the high speed bus 281 is bi-directional; therefore, the transmission circuit 16 could transmit data to the high speed bus 271 via the data connecting circuit 22; and the receiving circuit 18 could also receive data from the high speed bus 281 via the data connecting circuit 22. While transmitting data HD to the high speed bus 281, a strobe signal HDSTB is accordingly transmitted via the strobe signal connecting circuit 24. While receiving data HD' from the high speed bus 281, a strobe signal HDSTB' is also accordingly received via the strobe signal connecting circuit 24. Then the adjusting circuit 20 adjusts the timing relationship of the data HD' and the strobe signal HDSTB'; therefore the receiving circuit 18 could read out data HD' according to the strobe signal HDST B'. It is notice that while normal operating the chip 10, either the transmission mechanism or the receiving mechanism is performed at a time (i.e. either the transmission control signal HDOEN or the receiving control signal HDIE is enabled at a time).

FIG. 2 shows a schematic diagram of the testing system 200 for the chip 10 according to one embodiment in the present invention. The testing system 200 includes a testing control circuit 30 connected to the high speed bus interface circuit 12. In the present invention, while testing the chip 10, the testing control circuit 30 enables both the transmission control signal HDOEN and the receiving control signal HDIE. Therefore, the transmission circuit 16 transmits a testing signal HDt according to the transmission control signal HDOEN; and the receiving circuit 18 then receives the testing signal HDt according to the receiving control signal HDIE. That is to say, the transmission mechanism and the receiving mechanism are both performed; and an inner loop path is established while testing the chip 10; as a result, the testing signal transmitted by the transmission circuit 16 could be received by the receiving circuit 18 via the inner loop path.

FIG. 3 shows more detail schematic diagram of the testing system 200 according to the present invention. While testing the chip 10, the testing signal HDt is transmitted by the transmission circuit 36 according to the enabled transmission control signal HDOEN. At the time, a corresponding strobe signal HDSTBt is also transmitted. Then, the adjusting circuit 20 adjusts the timing relationship of the received testing signal HDt and the received strobe signal HDSTBt. Finally, the receiving circuit 18 reads out the received testing signal HDt according to the received strobe signal HDSTBt. By comparing the transmitted testing signal HDt and the received testing signal HDt, the high speed input and output functions of the chip 10 is identified. In briefly, the testing signal HDt is transmitted and received via the inner loop path in the high speed bus interface circuit 12. Furthermore, the receiving circuit 18 could directly receive the testing signal HDt (i.e. from the transmission circuit 16) and the strobe signal HDSTBt (not shown in FIG. 3) or via the data connecting circuit 22 and the strobe signal connecting circuit 24, respectively. Otherwise, the testing signal HDt could be obtained from the low speed bus 26.

FIG. 4 shows a schematic diagram of the testing system 400 for the chip 10 according to the second embodiment in the present invention. The testing system 400 is similar to the testing system 200 excepting further includes a first multiplexer 32 and a second multiplexer 34. As shown in FIG. 4, the first multiplexer 32 is connected between the transmission circuit 16, the adjusting circuit 20and the data connecting circuit 22. The first multiplexer 32 selects the testing signal HDt directly from the transmission circuit 16 or via the data connecting circuit 22. Also as shown in FIG. 4, the second multiplexer 34 is connected between the strobe signal connecting circuit 24. The second multiplexer 34 selects the testing strobe signal HDSTBt directly from the high speed bus interface circuit 12 or via the strobe signal connecting circuit 24.

The present invention provides a testing system and a testing method for a chip with high speed I/O functions. In the present invention, while testing the chip, both the transmission mechanism and the receiving mechanism are enabled; therefore, the testing signal could be transmitted and received via an inner loop path within the chip. Furthermore, while normal operating the chip, either the transmission mechanism or the receiving mechanism are enabled at a time; therefore, data could be transmitted to the high speed bus or data could be received from the high speed bus.

In summary, with compare to the conventional expensive high speed testing system and method, the cost is decreased in the present invention.

Although the present invention has been described with reference to specific embodiments thereof, it will be understood that the invention is not limited to the details thereof. Various substitutions and modifications have suggested in the foregoing description, and other will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications intended to be embraced within the scope of the invention as defined in the appended claims. 

1. A testing system for testing I/O functions of a chip, wherein the chip is connected with a high speed bus and a low speed bus, the testing system comprising: a high speed bus interface circuit connected to the high-speed bus, comprising: a transmission circuit for transmitting data to the high speed bus according to a transmission control signal; a receiving circuit for receiving data and a strobe signal from the high speed bus according to a receiving control signal; and a testing control circuit connected to the high speed bus interface circuit, the testing control circuit enables both of the transmission control signal and the receiving control signal while testing the chip.
 2. The testing system according to claim 1 wherein the transmission circuit transmits a testing signal and then the receiving circuit receives the testing signal transmitted by the transmission circuit through an inner loop path within the chip while testing the chip.
 3. The testing system according to claim 2 wherein the transmission circuit receives the testing signal from the low speed bus.
 4. The testing system according to claim 1 wherein the transmission circuit transmits data to the high speed bus and the receiving circuit receives data from the high speed bus while normal operating the chip.
 5. The chip testing apparatus according to claim 4 wherein either the transmission control signal or the receiving control signal is enabled while normal operating the chip.
 6. The testing system according to claim 1 wherein the high speed bus interface circuit further comprising: an adjusting circuit connected between the high speed bus and the receiving circuit for adjusting timing relationship of the data and the strobe signal received from the high speed bus before the data and the strobe signal are received by the receiving circuit.
 7. The testing system according to claim 6 wherein the high speed bus interface circuit further comprising: a first connecting circuit connected to the transmission circuit, the adjusting circuit and the high speed bus; and a second connecting circuit connected between the receiving circuit and the high speed bus; while testing the chip, the transmission circuit transmits a testing signal to the receiving circuit via the first connecting circuit and the adjusting circuit; the adjusting circuit receives the testing signal and the strobe signal via the first connecting circuit and the second connecting circuit, respectively; while normal operating the chip, the transmission circuit transmits data to the high speed bus via the first connecting circuit; the adjusting circuit receives data and the strobe signal from the high speed bus via the first connecting circuit and the second connecting circuit, respectively.
 8. The testing system according to claim 7 wherein the high speed interface circuit further comprising: a first multiplexer connected between the transmission circuit, the first connecting circuit and the adjusting circuit for selecting the testing signal directly from the transmission circuit or via the first connecting circuit; and a second multiplexer connected between the second connecting circuit and the adjusting circuit for selecting the strobe signal directly from the high speed interface circuit or via the second connecting circuit. 